package cn.ckx.coding.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * api相关属性配置
 * 
 * @author kunxin.cai
 **/

@Data
@Component
@ConfigurationProperties(prefix = "spring.nacos")
public class NacosProperties {
    
    private ServiceProperties service; 
    
    @Data
    public static class ServiceProperties{
        
        private String name;
        
    }
}
